from rest_framework_jwt.settings import api_settings
from rest_framework import serializers
from ZKces.models import *
# from md_shop.models import UresReg


class GoodsRES(serializers.ModelSerializer):
    class Meta:
        model = Goods
        fields = "__all__"

class FenLeiRES(serializers.ModelSerializer):
    class Meta:
        model = FenLei
        fields = "__all__"


class ClassRES(serializers.ModelSerializer):
    class Meta:
        model = Class
        fields = "__all__"

class ComRES(serializers.ModelSerializer):
    class Meta:
        model = Computer
        fields = "__all__"
class UserRes(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"


class XinWenRes(serializers.ModelSerializer):
    class Meta:
        model = XinWen
        fields = "__all__"
